package com.hornsun.domain.dbo;

import java.util.Date;

public class Medicine {
    private String medicineGuid;

    private String name;

    private String specification;

    private Byte type;

    private Date expirationDate;

    private String unit;

    private Float price;

    private String usages;

    private String taboo;

    private String remark;

    public String getMedicineGuid() {
        return medicineGuid;
    }

    public void setMedicineGuid(String medicineGuid) {
        this.medicineGuid = medicineGuid == null ? null : medicineGuid.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification == null ? null : specification.trim();
    }

    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    public Date getExpirationDate() {
        return expirationDate;
    }

    public void setExpirationDate(Date expirationDate) {
        this.expirationDate = expirationDate;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getUsages() {
        return usages;
    }

    public void setUsages(String usages) {
        this.usages = usages == null ? null : usages.trim();
    }

    public String getTaboo() {
        return taboo;
    }

    public void setTaboo(String taboo) {
        this.taboo = taboo == null ? null : taboo.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", medicineGuid=").append(medicineGuid);
        sb.append(", name=").append(name);
        sb.append(", specification=").append(specification);
        sb.append(", type=").append(type);
        sb.append(", expirationDate=").append(expirationDate);
        sb.append(", unit=").append(unit);
        sb.append(", price=").append(price);
        sb.append(", usages=").append(usages);
        sb.append(", taboo=").append(taboo);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}